public class SystemAdmin extends User {
	public boolean requestAppointment(Patient patient, Appointment appointment) {
		return patient.requestAppointment(appointment);
	}

	/*
	 * public boolean createPatient(Patient patient){ return
	 * null!=Database.query("INSERT INTO " +("USERTABLENAME")+
	 * " (Username, PasswordHash, Title, FirstName, MiddleName, LastName, Suspended)"
	 * +" VALUES (" +"'"+newPatient.getUsername()+"',"
	 * +newPatient.passwordHash.getValue()+","
	 * +"'"+newPatient.getName().getTitle()+"',"
	 * +"'"+newPatient.getName().getFirstName()+"',"
	 * +"'"+newPatient.getName().getMiddleName()+"',"
	 * +"'"+newPatient.getName().getLastName()+"',"
	 * +((newPatient.isSuspended())?"TRUE":"FALSE")//+"," +")"); }
	 * 
	 * public boolean deletePatient(String username){ return
	 * null==Database.query("DELETE FROM " +("USERTABLENAME") +" WHERE "
	 * +("Username") +"=" +patientUsername); }
	 * 
	 * public Collection<Patient> getPatients(User medicalStaff){ if
	 * (medicalStaff instanceof Nurse) return ((Nurse)
	 * medicalStaff).getPatients(); else return ((Doctor)
	 * medicalStaff).getPatients(); }
	 * 
	 * public Collection<Appointment> getDailyAppointments(User medicalStaff){
	 * if (medicalStaff instanceof Nurse) return ((Nurse)
	 * medicalStaff).getDailyAppointments(); else return ((Doctor)
	 * medicalStaff).getDailyAppointments(); }
	 */

	// I don't know how to implement this.
	public void getReport(Doctor doctor) {

	}

	// I don't know how to implement this.
	public void getStatistics(Doctor doctor) {

	}

	/*
	 * public boolean addUser(User newUser){ String userType=""; if (newUser
	 * instanceof Patient) userType="Patient"; else if (newUser instanceof
	 * Nurse) userType="Nurse"; else if (newUser instanceof Doctor)
	 * userType="Doctor"; else if (newUser instanceof SystemAdmin)
	 * userType="SystemAdmin";
	 * 
	 * return null!=Database.query("INSERT INTO " +("USERTABLENAME")+
	 * " (Username, PasswordHash, Title, FirstName, MiddleName, LastName, Suspended, UserType)"
	 * +" VALUES (" +"'"+newUser.getUsername()+"',"
	 * +newUser.passwordHash.getValue()+","
	 * +"'"+newUser.getName().getTitle()+"',"
	 * +"'"+newUser.getName().getFirstName()+"',"
	 * +"'"+newUser.getName().getMiddleName()+"',"
	 * +"'"+newUser.getName().getLastName()+"',"
	 * +((newUser.isSuspended())?"TRUE":"FALSE")+"," +"'"+userType+"'"//+","
	 * +")"); }
	 * 
	 * public boolean deleteUser(User oldUser){ return
	 * Database.query("DELETE FROM " +("USERTABLENAME") +" WHERE " +("Username")
	 * +"=" +"'"+oldUser.getUsername()+"'"); }
	 */
}
